<template>
    <view >
       <video style="width: 100%;" class="center-unknown" :src="tempsrc" enable-danmu danmu-btn controls></video>
    </view>
</template>

<script>
export default {
    data() {
        return {
            tempsrc: '',
            danmuValue: ''
        }
    },
    methods: {
		onLoad(options) {
			//console.log(options.temp1)
			this.tempsrc = options.temp1
		}
    }
}
</script>

<style>
	page{
		background:#000000;
	}
	.center-unknown {  
	    position: absolute;  
	    top: 50%;  
	    left: 50%;  
	    transform: translate(-50%, -50%);  
	}
</style>
